<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>笔记分享平台</title>
    <link rel="stylesheet" href="css/style.css">
</head>

<body>
    <div class="container">
        <header class="app-header">
            <h1>笔记分享</h1>
            <p>分享你的想法和见解</p>
            <a href="moments.html" style="color: green; text-decoration: none;">查看朋友圈</a>
        </header>

        <div class="note-form">
            <h2>发布新笔记</h2>
            <form id="noteForm">
                <div class="form-group">
                    <label for="noteTitle">标题</label>
                    <input type="text" id="noteTitle" required>
                </div>
                <div class="form-group">
                    <label for="noteContent">内容</label>
                    <textarea id="noteContent" rows="5" required></textarea>
                </div>
                <button type="submit" class="submit-btn">发布笔记</button>
            </form>
        </div>

        <div class="notes-container">
            <h2>所有笔记</h2>
            <div id="notesList" class="notes-list">
                <!-- 笔记将在这里动态生成 -->
            </div>
        </div>
    </div>

    <script src="js/utils.js"></script>
    <script src="js/main.js"></script>
</body>

</html>